package com.gewu.pm.http.request;

import com.hjq.http.config.IRequestApi;
import com.gewu.pm.http.model.AppUrl;

/**
 * 获取验证码
 */
public final class GetCodeApi implements IRequestApi {

    @Override
    public String getApi() {
        return AppUrl.getCode;
    }

    /** 手机号 */
    private String mobile;
    /** 手机号 MD5加密 */
    private String sign;

    public GetCodeApi setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }

    public GetCodeApi setSign(String sign) {
        this.sign = sign;
        return this;
    }
}